package cn.cat.main.runnable;

public class MyRunnableTest {

    public static void main(String[] args) {

        for (int i = 0; i < 10; i++) {
            MyRunnable myRunnable = new MyRunnable("MyRunnable" + i);
            Thread thread = new Thread(myRunnable);
            thread.start();
            System.out.println(thread.getState());
        }
    }
}
